import http from '@/utils/http'
const pre = 'timecard-management'
export let queryBatchList = (params) => {
  const url = `/${pre}/batch/queryBatchList`
  return http.post(url, params)
}
export let insertBatch = (params) => {
  const url = `/${pre}/batch/insert/insertBatch`
  return http.post(url, params)
}
export let deleteBatch = (params) => {
  const url = `/${pre}/batch/deleteBatch`
  return http.post(url, params)
}
export let exportBatchExcel = (params) => {
  const url = `/${pre}/batch/exportBatchExcel`
  return http.post(url, params)
}
export let queryTimecardList = (params) => {
  const url = `/${pre}/timecard/queryTimecardList`
  return http.post(url, params)
}
export let queryTimecardDetail = (params) => {
  const url = `/${pre}/timecard/timecard-detail/queryTimecardDetail`
  return http.post(url, params)
}
export let deleteTimecard = (params) => {
  const url = `/${pre}/timecard/deleteTimecard`
  return http.post(url, params)
}
